package com.oa.modules.approvalsec1.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.oa.common.utils.PageUtils;
import com.oa.common.utils.R;
import com.oa.modules.approvalsec1.entity.ArchivesEntity;

import java.util.List;
import java.util.Map;

/**
 * @Author: Hankaicheng
 * @Date: 2022/3/25 10:33
 */
public interface ArchivesService extends IService<ArchivesEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<ArchivesEntity> allById(String id);

    void update(ArchivesEntity archivesEntity);

    ArchivesEntity getByFileNumber(String id);

    R queryPage1(Map<String, Object> params);

    R updateByFileNumber(ArchivesEntity entity);

    R removeByFileNumber(ArchivesEntity entity);

    R getByWindowNumber(String id);

    ArchivesEntity getByUId(String id);
}
